package com.mmall.service;

import com.mmall.common.ServerResponse;

import java.util.Map;

/**
 * Create by lisy on Qingdao
 **/
public interface IOrderService {
    ServerResponse pay(Integer userId, Long orderNo, String path);

    ServerResponse aliCallback(Map<String, String> params);

    ServerResponse queryOrderPayStatus(Integer userId, Long orderNo);

    ServerResponse createOrderByShippingId(Integer userId, Integer shippingId);

    ServerResponse getOrderProductCart(Integer userId);

    ServerResponse getOrderList(Integer userId, Integer pageNum, Integer pageSize);

    ServerResponse getOrderDetail(Integer userId, Long orderNo);
}
